/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pin.db;

import java.io.IOException;
import javax.sql.DataSource;
import pin.db.dbcp.Dbcp;

/**
 *
 * @author didyhu
 */
public class DataSourceFactory {

    public static DataSource createDataSource(String propertiesFilename) throws IOException, Exception {
        return Dbcp.createDataSource(propertiesFilename);
    }
}
